﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PostList.ascx.cs" Inherits="blog.UserControl.PostList" %>
<div class="panel panel-info" aria-label="center">

    <h3>
        <asp:Label ID="labpostname" runat="server"></asp:Label>
    </h3>
</div>
<br />
<div class="panel-body">
    <asp:Label ID="labpostcontent" runat="server" Font-Size="25px"></asp:Label>
</div>
<br />
<div class="panel-body">
    <span class="label label-success pull-left">

        <asp:Label ID="labpostuser" runat="server" Font-Size="18px"></asp:Label>
    </span>



    <span class="divider-vertical"></span>

    <span class="label label-success pull-right">

        <asp:Label ID="labpostdate" runat="server" Font-Size="18px"></asp:Label>
    </span>


    <span class="divider-vertical"></span>
    <span class="label label-success pull-right">
        <asp:Label ID="labpostid" runat="server" Font-Size="18px"></asp:Label>

    </span>
    <span style="height: 21px">
        <input type="button" id="btndelete<%=thepostid %>" value="删除文章" class="btn btn-success" onclick="javascript: deletepost(this);"
            style="height: 22px; width: 74px; padding: 0" />&nbsp;&nbsp;
        <input type="button" id="btnedit<%=thepostid %>" value="編輯文章" class="btn btn-success" onclick="javascript: editpost(this);"
            style="height: 22px; width: 74px; padding: 0" />


    </span>

</div>
